/*
 * @Author: 李惠婵 lihuichan@yxhyidc.com
 * @Date: 2022-12-11 17:55:31
 * @LastEditors: 李惠婵 lihuichan@yxhyidc.com
 * @LastEditTime: 2022-12-15 14:05:12
 * @FilePath: \robot-webd:\project\rural-revitalization-web2\src\api\screen\map.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import request from '@/utils/request'
//核酸点gis详情
export function nucleicAcidGIS(query) {
    return request({
        url: '/grid/analysis/nucleicAcid/gisDetail',
        method: 'get',
        params: query
    })
}
//物资点
export function materialGIS(query) {
    return request({
        url: '/grid/analysis/material/gisDetail',
        method: 'get',
        params: query
    })
}
//搜索居民
export function searchResident(query) {
    return request({
        url: '/visualize/hr/anastat/searchResident',
        method: 'get',
        params: query
    })
}
//搜索房屋
export function searchHouse(query) {
    return request({
        url: '/visualize/hr/anastat/searchHouse',
        method: 'get',
        params: query
    })
}
//居民搜索详情
export function residentDetails(query) {
    return request({
        url: '/screen/visualize/holistic/residentDetails',
        method: 'get',
        params: query
    })
}
//建筑搜索详情
export function houseDetails(query) {
    return request({
        url: '/screen/visualize/holistic/houseDetails',
        method: 'get',
        params: query
    })
}
//导航头统计(建筑楼栋、小区楼、自建房、租户人数) /screen/visualize/holistic/queryNavigationStatistics
export function queryNavigation() {
    return request({
        url: '/screen/visualize/holistic/queryNavigationStatistics',
        method: 'get',
    })
}
///租客租住楼gis 详情
export function TenantHouseDetail(query) {
    return request({
        url: '/screen/visualize/gis/getTenantHouseDetails',
        method: 'get',
        params: query
    })
}
//医院详情
export function hospitalDetail(query) {
    return request({
        url: '/screen/visualize/gis/hospital/details',
        method: 'get',
        params: query
    })
}
//學校/
export function schoolDetail(query) {
    return request({
        url: '/screen/visualize/gis/school/details',
        method: 'get',
        params: query
    })
}
//景点
export function panoramaDetail(query) {
    return request({
        url: '/screen/visualize/gis/panorama/details',
        method: 'get',
        params: query
    })
}
///产业招商详情
export function attractDetail(query) {
    return request({
        url: '/screen/visualize/gis/attract/details',
        method: 'get',
        params: query
    })
}
///烟感详情
export function smokeGisDetail(query) {
    return request({
        url: '/iot/analysis/smokeGisDetail',
        method: 'get',
        params: query
    })
}
///visualize/hr/anastat/range 多边形范围数据
export function getRange(data) {
    return request({
        url: '/visualize/hr/anastat/range',
        method: 'post',
        data: data,
    })
}
//查询圈定地图范围数据v/screen/visualize/holistic/queryRegionMapData
export function RegionMapData(data) {
    return request({
        url: '/screen/visualize/holistic/queryRegionMapData',
        method: 'post',
        data: data,
    })
}
//grid/analysis/gridPerson/gis
//
export function gridPerson(query) {
    return request({
        url: '/grid/analysis/gridPerson/gis',
        method: 'get',
        params: query
    })
}
//志愿者
export function Volunteer(query) {
    return request({
        url: '/screen/visualize/holistic/queryVolunteer',
        method: 'get',
        params: query
    })
}
